<?php
/**
 * @package PHPKit.
 * @author: mawenpei
 * @date: 2016/11/28
 * @time: 11:13
 */
namespace HuoKit\JobMan\Queue;

class Job implements IJob
{
    protected $id;
    protected $data;

    public function __construct($id,$data)
    {
        $this->id = $id;
        $this->data = $data;
    }

    public function getId()
    {
        return $this->id;
    }

    public function getData()
    {
        return $this->data;
    }
}